home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 3 / MacMania 3.toast / Demo's / KarmaMacDemo / GAME_G1.DXR / 00226.ls < prev    next >
Encoding:
Text File  |  1995-10-24  |  390 b   |  17 lines

  1. on moveDown
  2.   global SpinCount, MoveDirection, down, myState
  3.   if SpinCount < 21 then
  4.     set the locV of sprite 28 to the locV of sprite 28 + 3
  5.   else
  6.     set myState to 0
  7.   end if
  8.   if SpinCount = 21 then
  9.     set the locV of sprite 28 to the locV of sprite 28 + 2
  10.     set SpinCount to 0
  11.     set MoveDirection to down
  12.   else
  13.     set SpinCount to SpinCount + 1
  14.   end if
  15.   updateStage()
  16. end
  17.